A New Competitive Analysis of Randomized Caching
نویسندگان
چکیده
We provide new competitive upper bounds on the performance of the memoryless, randomized caching algorithm RAND. Our bounds are expressed in terms of the inherent hit rate α of the sequence of memory references, which is the highest possible hit rate that any algorithm can achieve on the sequence for a cache of a given size. Our results show that RAND is (1−αe−1/α)/(1−α)-competitive on any reference sequence with inherent hit rate α. Since our new competitive bound does not scale up with the size k of the cache, it beats the putative Ω(lg k) lower bound on the competitiveness of randomized caching algorithms.
منابع مشابه
General Caching with Lifetimes
We consider the problem of caching with lifetimes, where a lifetime is specified whenever a page is loaded into the cache. The copy of a page loaded into the cache may be used to serve requests to the same page, only until its expiration time. We present a generic method to get an algorithm for caching with lifetimes, from an algorithm for caching without lifetimes. This method works for any co...
متن کاملMore on randomized on-line algorithms for caching
We address the tradeoff between the competitive ratio and the resources used by randomized on-line algorithms for caching. Two algorithms reported in the literature that achieve the optimal ratio Hk require a lot of memory and perform extensive computation at each step. On the other hand, a very simple algorithm called RMARK has competitive ratio 2Hk − 1, within a factor of 2 of the optimum. A ...
متن کاملOnline Companion Caching
This paper is concerned with online caching algorithms for the (n, k)-companion cache, defined by Brehob et. al. [3]. In this model the cache is composed of two components: a k-way set-associative cache and a companion fully-associative cache of size n. We show that the deterministic competitive ratio for this problem is (n+1)(k+1)−1, and the randomized competitive ratio is O(log n log k) and Ω...
متن کاملFile Caching with Rental Cost and Zapping
The file caching problem is defined as follows. Given a cache of size k (a positive integer), the goal is to minimize the total retrieval cost for the given sequence of requests to files. A file f has size size(f) (a positive integer) and retrieval cost cost(f) (a non-negative number) for bringing the file into the cache. A miss or fault occurs when the requested file is not in the cache and th...
متن کاملWhat To Do With Your Free Time: Algorithms for Infrequent Requests and Randomized Weighted Caching
We consider an extension of the standard on-line model to settings in which an on-line algorithm has free time between successive requests in an input sequence. During this free time, the algorithm may perform operations without charge before receiving the next request. For instance, in planning the motion of re trucks, there may be time in between res that one could use to reposition the truck...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000